home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / g_quake / sambot.zip / MULTISK.TXT < prev    next >
Text File  |  1996-08-01  |  12KB  |  305 lines

  1.  
  2.                           -== M U L T I S K I N ==-  
  3.                                      1.1
  4.  
  5.                   by Dennis Noordsij - lnoordsi@inter.NL.net
  6.       home of MultiSkin - http://web.inter.NL.net/users/L.J.Noordsij/qc.htm
  7. --------------------------------------------------------------------------------
  8.  
  9. Q) [Quake lover]: Can we have our own player textures in Quake?
  10. A) [ID Software]: NO! That is NOT possible.
  11. A) [ME :)      ]: YES! That IS possible.
  12.  
  13. --------------------------------------------------------------------------------
  14.  
  15. I was, just like everybody else, hoping that players could have their own skin
  16. textures when Quake came out. But it wasn't possible. Then the QuakeC compiler
  17. and QuakeC code were released, and I thought, man, it HAS to be possible now! 
  18. So I started trying: 
  19.  
  20. ** Playing with the SetModel(self, "progs/player.mdl"). 
  21.    Problems: - it didn't work
  22.          - you would *require* multiple models, waisting a lot of bytes and
  23.          - Quake will crash if you don't have them.
  24.  
  25. ** Exploiting the fact that a model can change in eyes
  26.    Problems: - it didn't work
  27.          - again, would *require* all models, waisting a lot of bytes and
  28.              - Quake will crash if you don't have them.
  29.  
  30. ** Using the idea that models can have different skins
  31.    Pros: - it WORKED!
  32.          - you only need one player.mdl that has all textures in it
  33.      - if you don't have the 'new' player.mdl no problem, you will see
  34.            the normal textures instead!
  35.      - As I improve the code (add teamplay, corpses with correct skins)
  36.            only the SERVERS need to update. All the clients (players) need
  37.            is the new player.mdl, which works just like the normal player.mdl,
  38.            but if you connect to a MultiSkin Server suddenly the models will
  39.            have all sorts of skins!
  40.    Bugs: - The skin will only apply to the body your soul is in. As soon as
  41.        your soul transfers to a new body (respawns) the corpse skin will
  42.            change to the normal texture. But I will fix this and this is not
  43.            crucial, vital or important at all. 
  44.  
  45. --------------------------------------------------------------------------------
  46.  
  47. Great! What do I need?
  48.  
  49.  
  50. *** If you are a PLAYER, ie someone that will connect to a server:
  51.  
  52. You need the PLAYER.MDL file. You can replace the old one with this one, or
  53. you can put it in a directory like this:
  54.    / [YOUR QUAKE DIR] / MULTISKIN / PROGS / PLAYER.MDL
  55. Then you start Quake with the "-game multiskin" paramater (or for internet
  56. Quake: "q95 -game multiskin". Quake will then use this model instead. If you
  57. replace the old PLAYER.MDL then you don't need to start with extra parameters,
  58. and you will never notice it is a different PLAYER.MDL until you connect to
  59. a MultiSkin Server and see everybody in his own skin. Of course you can always
  60. mail me with questions
  61.  
  62.  
  63. *** If you are a DEDICATED server:
  64.  
  65. You need the PROGS.DAT file. You place it in it's own dir, example:
  66.    / [YOUR QUAKE DIR] / MULTISKIN / PROGS.DAT
  67. and you add "-game multiskin" to your startup commandline string. All clients
  68. that connect will than be able to change their skins, and clients that have
  69. the new PLAYER.MDL will see those changes, otherwise they'll see the normal
  70. textures. 
  71. THE CLIENTS DO NOT *REQUIRE* NEW FILES! EVERYBODY WILL BE ABLE TO CONNECT, AND
  72. THE CLIENTS WITH THE NEW PLAYER.MDL WILL SEE NEW SKINS, THE OTHER CLIENTS
  73. WILL JUST SEE WHAT THEY ALWAYS SEE. BY USING THIS NEW PROGS.DAT FILE YOU ARE
  74. NOT SACRIFICING ANYTHING, EVERYBODY CAN CONNECT. CLIENTS DO NOT *REQUIRE*
  75. NEW FILES, IT IS OPTIONAL
  76.  
  77.  
  78. ** If you are a LISTEN server:
  79.  
  80. You need both packages, you can either replace the old PROGS.DAT and PLAYER.MDL
  81. or you can create the following dirs:
  82.   / [YOUR QUAKE DIR] / MULTISKIN / PROGS.DAT
  83.   / [YOUR QUAKE DIR] / MULTISKIN / PROGS / PLAYER.MDL
  84. If you have:
  85.  - only the progs.dat, MultiSkin will work but you will not see the new 
  86.    textures because you don't have them. Players who DO have the new
  87.    PLAYER.MDL *WILL* see the new textures
  88.  - only the new PLAYER.MDL. Then you don't have the MultiSkin code, and the
  89.    game will be an ordinary game where only the first (normal) skin of the
  90.    player is used.
  91.  
  92. --------------------------------------------------------------------------------
  93.  
  94. Okay, I'm using the new PLAYER.MDL and I have connected to a MultiSkin server,
  95. now how do I change skins?
  96.  
  97. Simple, you bind "IMPULSE 200" to a key, for example q 
  98. (type 'bind q "impulse 200" ' in the console) and whenever you press q (impulse
  99. 200) your skin will go up one and you will see a message saying which skin
  100. you now have. There are 19 skins, so after skin 15 pressing q again will 
  101. use skin 0. Whenever you respawn you will see a message reminding you which
  102. skin you have. So if you start and press q, you will see 
  103.    "SKIN: Duke Nukem 3d (1)". This means you have now skin (1), which is Duke
  104. Nukem's skin. if you press q again you will see
  105.    "SKIN: Toad (2)". This means you now have the skin of a cool looking toad.
  106. After skin #18 you will get skin #0, which is the normal Quake skin. The
  107. skin will travel with you, if you respawn you will keep the same skin and you
  108. will get a message telling you what skin you 'are wearing'.
  109.  
  110. --------------------------------------------------------------------------------
  111.  
  112. I'm curious, which skins are there?
  113.  
  114. 0) The normal Quake texture. 
  115.    When you first connect to a normal Quake MultiSkin Server you will start 
  116.    with this skin. 
  117.  
  118. 1) Duke Nukem 3d. 
  119.    Heh heh, now you can have some REAL Duke vs Quake wars :)
  120.    BE SURE TO USE COLOR 6 TO KEEP HIS HAIR YELLOW!
  121.  
  122. 2) Toad.
  123.    A pretty cool looking green creature.
  124.  
  125. 3) Stormtrooper.
  126.    An awesome white-camo enforcer type of guy
  127.  
  128. 4) Max.
  129.    Reminds me of Spiderman, although Max is blue/yellow. Looks like a 
  130.    comicbook-hero. Looks pretty cool.
  131.  
  132. 5) the Terminator.
  133.    A very good version of a half-dead terminator, looks very real.
  134.  
  135. 6) Judge Dredd.
  136.    The one and only...
  137.  
  138. 7) Camo.
  139.    A camouflaged soldier. The prefect skin to camp in dark places.
  140.  
  141. 8) Captain Picard.
  142.    For the Trekkies, and until Startrek Quake comes out.
  143.  
  144. 9) the Wizzard.
  145.    This is the skin of the scrag on a player model. Looks pretty scary.
  146.  
  147. 10) the Predator.
  148.     Awesome skin of the Predator. Not for cissies :)
  149.  
  150. 11) Skeleton.
  151.     With this skin you change into a skeleton with a gun :) Pretty cool skin!
  152.  
  153. 12) Wan-Fu.
  154.     I don't know who this guy is, but he looks like a topless karate-kid :)
  155.  
  156. 13) Henry Rollins.
  157.     Don't know him either. But he would make a good target :)
  158.  
  159. 14) He-Man.
  160.     The one and only Master of the Universe.
  161.  
  162. 15) Boba.
  163.     Who? Oh Boba. Never heard of him :) 
  164.  
  165. 16) Superman.
  166.     That's right, now YOU can be Superman!
  167.  
  168. 17) NYPD.
  169.     If you always wanted to be a cop, this is your chance :)
  170.  
  171. 18) Eh... nameless :)                         
  172.     A nice looking guy with the women's sign on his suit ( O )
  173.                                                          ( + )
  174. Some things:
  175.  
  176. * I don't expect you to memorize this list, so whenever you select a skin Quake
  177.   will tell you which one you have
  178. * Of course I didn't make all those skins. I got them from the Quake grinder:
  179.   http://www.zipnet.net/~biff/qgrinder/
  180.   Here you will find more stuff and the credits for the skins. I did not ask
  181.   permission to all skin authors, but I assume that since they released the
  182.   skin they expect it to be used and don't mind. 
  183. * Most of these skins do not yet have the axe and fire drawn on them. This
  184.   means that the axe will be completeley black. I asked Biff (Quake Grinder)
  185.   about this and he said he could quickly 'overlap' these portions of the
  186.   normal player texture onto the other textures. So that'll be fixed soon.
  187. * I was able to create this PLAYER.MDL because of the excellent QuakeME 2.3,
  188.   which the author Rene Post made only because I asked him. He's a great guy,
  189.   and his program is the best .MDL viewer/textures editor out there. 
  190.  
  191. --------------------------------------------------------------------------------
  192.  
  193. I have some new textures
  194.  
  195. Please send them to me, so I can add them to both the code AND the model, so
  196. there will be some kind of standard instead of different PLAYER.MDL's that make
  197. someone who looks like Duke look like He-Man and things like that
  198.  
  199. --------------------------------------------------------------------------------
  200.  
  201. Thanks to:
  202.  
  203. *** Rene Post (author of QuakeME)
  204.     He's really amazing! I ask him one night if could add something to QuakeME
  205.     2.2, and the next day I get QuakeME 2.3 which works *EXCELLENT*. Exactly
  206.     what I had hoped for. I recommend this program!
  207.  
  208. *** Biff (don't remember last name), maintainer of the Quake Grinder:
  209.     http://www.zipnet.net/~biff/qgrinder/
  210.     For storing the textures and for the fact that he will add the axe and
  211.     fire to the textures
  212.  
  213. *** Crisco at Stomped.com
  214.     for originally storing the textures (before they went to the Quake Grinder)
  215.  
  216. --------------------------------------------------------------------------------
  217.  
  218. Other possibilities with this technique:
  219.  
  220. You could make new skins for the monsters, such as 
  221. - one for health > 80%         (the normal texture)
  222. - one for 50% < health < 80%   (some extra blood)
  223. - one for health < 50%         (lots of blood and gore :)
  224. And then set the skins according to their health.
  225.  
  226. --------------------------------------------------------------------------------
  227.  
  228. Misc:
  229.  
  230. * Your skin will change the instant you impulse 200. 
  231. * Teamplay is still color oriented. A Duke can still kill a Duke.
  232. * Whenever a player respawns, the skin of his former corpse will change back
  233.   into the standard skin.
  234.  
  235. --------------------------------------------------------------------------------
  236.  
  237. FUTURE FIXES:
  238.  
  239. * Add teamplay for skin instead of colors
  240. * Add the option to only allow skin changes when the player is dead to avoid
  241.   some teamp server problems (quickly changing skin)
  242. * Have corpses kep the right skins
  243. * Update the textures with the axe/fire drawn onto them
  244. * Add more textures
  245.  
  246. --------------------------------------------------------------------------------
  247.  
  248. OTHER THINGS I'D LIKE TO SAY :)
  249.  
  250. People have been complaining about a lot of things, and they are getting fixed
  251. all the time! Some examples:
  252.  
  253. * Weapons suck!
  254.   We now have heetseekers, proximity grenades, drunk missiles, gib throwers,
  255.   lasers and more coming up!
  256.  
  257. * Grenades etc should go through teleporters!
  258.   Done. It wasn't a Quake limition, it just required a little editing and
  259.   someone has already done it. Let's fire a stream of nails through a 
  260.   teleporter!
  261.  
  262. * Monster/player corpses should be solid
  263.   Not only can they be solid, but also gibbable!
  264.  
  265. * Bulletholes?
  266.   I've been working on this one. Right now I can use the bubble sprite as a
  267.   bullet hole, but when I fire the supershotgun 8 times I get a Packet 
  268.   Overflow beacuse of the 300 bubbles on the wall. I'll figure something out.
  269.   The idea is pretty simple, just spawn a sprite when a bullet hits a wall.
  270.  
  271. * Monster helper/spawners
  272.   Done/Working on those
  273.  
  274. * Different skins for each player
  275.   Done! :)
  276.  
  277. * Interconnected Quake servers.
  278.   Done. Only problem, if the server rejects you you end up in the console.
  279.   But John Carmack has said to be working on a real dedicated big stand-alone
  280.   server, so it's just a matter of time.
  281.  
  282. * Splashing water
  283.   Whenever the sound of splashing water is played, create a blue particle
  284.   fog on that loation going up.
  285.  
  286. --------------------------------------------------------------------------------
  287.  
  288. HISTORY:
  289.  
  290. 1.1 - added impulse 201 to descend the list
  291.     - added 3 more skins (Superman, NYPD and some other guy :)
  292.     - replaced the Duke skin with a darker one that also had the axe/fire
  293.     - and of course add the new skins to the code
  294.  
  295. 1.0 - initial release containing 16 skin textures
  296.  
  297. --------------------------------------------------------------------------------
  298.  
  299. If you have ANYTHING to ask, just mail me! Also, tell me what features you 
  300. would like added to MultiSkin!
  301.  
  302. Thursday 1 August 1996, 13:50 CEST
  303. Dennis Noordsij
  304. lnoordsi@inter.NL.net
  305.